<div id="<?php echo $this->fieldId;  ?>_current" class="mediaListUpload">
	<?php
	echo $this->GetThumbnailBlock($this->data['file'], $this->fieldName, isset($this->params['showimgtumb']) ? $this->params['showimgtumb'] : false);
	?>
</div>
<?php
if ($this->params['editable'])
{
?>
<input type="file" class="input inp_text" id="<?php echo $this->fieldId;  ?>" name="<?=$this->fieldName;?>[file]" <?php echo !$this->params['editable'] ? ' readonly' : ''; ?>>
<script type="text/javascript">
$(document).ready(function(){
	$('#<?php echo $this->fieldId;  ?>_current a.del').live('click', function(e){
		e.preventDefault();
		$(this).parent().remove();
	});
});
</script>
<?php
}